%% == Erlang Compiler ==

{erl_opts, [
  warn_unused_vars,
  %warnings_as_errors,
  warn_export_all,
  warn_shadow_vars,
  %warn_unused_import,
  warn_unused_function,
  warn_bif_clash,
  warn_unused_record,
  warn_deprecated_function,
  warn_obsolete_guard,
  strict_validation,
  warn_export_vars,
  warn_exported_vars,
%%  warn_missing_spec,
%%  warn_untyped_record,
  debug_info
]}.

%% == Common Test ==

{ct_compile_opts, [
  warn_unused_vars,
  warn_export_all,
  warn_shadow_vars,
  warn_unused_import,
  warn_unused_function,
  warn_bif_clash,
  warn_unused_record,
  warn_deprecated_function,
  warn_obsolete_guard,
  strict_validation,
  warn_export_vars,
  warn_exported_vars,
  %%warn_missing_spec,
  %%warn_untyped_record,
  debug_info
]}.

%% rebar ct does not work! (but rebar3 ct does)
%% You can also run ct FROM the test dir using:
%% ct_run -suite tree_db_SUITE

